package com.xxgc.moriserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;

@Data
@Table(value = "mainTitle", comment = "主要信息")
public class mainTitleEntity {

    @ColumnId(mode = IdType.AUTO, comment = "id主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String mainTitleId;

    @ColumnComment("传入参数")
    private int myKey;

    @ColumnComment("信息")
    private String myValue;
}
